package ca.ubc.icapture.genapha.forms;

import ca.ubc.icapture.genapha.beans.DataRequestApprovalDecorator;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class DataRequestApprovalsForm extends ActionForm {
    private List<DataRequestApprovalDecorator> dataReqAppList;
    private String submitType;
    private String status;
    private String comments;

    @Override
    public void reset(ActionMapping mapping, HttpServletRequest request)
    {
        setSubmitType("");
    }

    /**
     * @return the dataReqAppList
     */
    public List<DataRequestApprovalDecorator> getDataReqAppList() {
        return dataReqAppList;
    }

    /**
     * @param dataReqAppList the dataReqAppList to set
     */
    public void setDataReqAppList(List<DataRequestApprovalDecorator> dataReqAppList) {
        this.dataReqAppList = dataReqAppList;
    }

    /**
     * @return the submitType
     */
    public String getSubmitType() {
        return submitType;
    }

    /**
     * @param submitType the submitType to set
     */
    public void setSubmitType(String submitType) {
        this.submitType = submitType;
    }

    /**
     * @return the status
     */
    public String getStatus() {
        return status;
    }

    /**
     * @param status the status to set
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * @return the comments
     */
    public String getComments() {
        return comments;
    }

    /**
     * @param comments the comments to set
     */
    public void setComments(String comments) {
        this.comments = comments;
    }
}
